package com.zhouyer.study.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.aspectj.lang.annotation.AfterReturning;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 令牌实体
 *
 * @author zhouyao
 * @version 1.0
 * @date 2021/12/7 11:29 上午
 */
@Entity
@Table(name = "zhouyer_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ZhouyerUser implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    private String email;
    private String password;
    private String token;
}
